package com.jichangxiu.server.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jichangxiu.server.platform.entity.po.PlatformDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * PlatformDeptMapper:
 *
 * @author Jcx
 * @create 2023-03-08 21:07
 */
@Mapper
public interface PlatformDeptMapper extends BaseMapper<PlatformDept> {

    /**
     * 分页查询部门列表
     *
     * @param platformDept 部门信息
     * @param page         分页对象
     * @return 部门列表
     */
    public List<PlatformDept> pageList(@Param("platformDept") PlatformDept platformDept, @Param("page") Page<PlatformDept> page);

}
